package com.exam.role.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * Student entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Student extends User implements java.io.Serializable
{

	// Fields

	private Integer id;
	private StuClass stuClass;
	private Teacher teacher;
	private Date createtime;
	private String flag;
	private String studentno;
	private Set examinees = new HashSet(0);

	// Constructors

	/** default constructor */
	public Student()
	{
	}

	// Property accessors

	public Integer getId()
	{
		return this.id;
	}

	public void setId(Integer id)
	{
		this.id = id;
	}

	public StuClass getStuClass()
	{
		return this.stuClass;
	}

	public void setStuClass(StuClass stuClass)
	{
		this.stuClass = stuClass;
	}

	public Teacher getTeacher()
	{
		return this.teacher;
	}

	public void setTeacher(Teacher teacher)
	{
		this.teacher = teacher;
	}

	public Date getCreatetime()
	{
		return this.createtime;
	}

	public void setCreatetime(Date createtime)
	{
		this.createtime = createtime;
	}

	public String getFlag()
	{
		return this.flag;
	}

	public void setFlag(String flag)
	{
		this.flag = flag;
	}

	

	public String getStudentno()
	{
		return this.studentno;
	}

	public void setStudentno(String studentno)
	{
		this.studentno = studentno;
	}

	public Set getExaminees()
	{
		return this.examinees;
	}

	public void setExaminees(Set examinees)
	{
		this.examinees = examinees;
	}

}